| # Scrolling: JViewport, JScrollPane, and Related Classes | Other Swing Changes

> ## New JViewport scrollMode Property

> Interactive scrolling speed has proven to be perhaps the most important factor in users perception of overall swing performance. 1.3 adds a new optimization, called "BLIT_SCROLL_MODE" (now the default) that copies unobscured areas of the components heavy weight ancestor to effect a scroll. Previously we had offered a related optimzation that managed a per viewport backing store image. Although still supported, the backingStoreEnabled property has been deprecated.

> See:

> `
> - public static final int BLIT_SCROLL_MODE
> - public static final int BACKINGSTORE_SCROLL_MODE
> - public static final int SIMPLE_SCROLL_MODE
> - public void setScrollMode(int mode)
> - public int getScrollMode()
> - protected boolean backingStore // Deprecated
> - public boolean isBackingStoreEnabled() // Deprecated
> - public void setBackingStoreEnabled(boolean enabled) // Deprecated
> `

Copyright © 1999 Sun Microsystems, Inc. All Rights Reserved. Please send comments to: swing-feedback@java.sun.com. This is not a subscription list. | Java Software